// Include files.
#include <string>
#include "WPILib.h"
#include "SmartDashboardStringOutput.hpp"

using namespace std;

/**
 *  Constructor for SmartDashboardStringOutput.
 *  
 *  @param name The desired name of the output (key name in SmartDashboard terms).
 */
SmartDashboardStringOutput::SmartDashboardStringOutput(string name) :
	m_name(name)
{
}

/**
 *  Set the string value to output.
 *  
 *  @param value The string value to output.
 */
void SmartDashboardStringOutput::SetValue(string value)
{
	SmartDashboard::PutString(m_name, value);
}
